package com.ionehe.group.common.uaa.ex.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BaseVo implements Serializable {

    @ApiModelProperty(name = "id",value = "业务Id")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime",value = "创建时间")
    private Date createTime;

    //    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "updateTime",value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(name = "isDelete",value = "是否删除 0未删除  1删除 ")
    private Integer isDelete = 1;

}
